﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace DAL.Log4Net
{
   public class LogContent
    {
        /// <summary>
        /// 访问IP
        /// </summary>
        public string UserIP { get; set; }
        /// <summary>
        /// 系统登陆用户
        /// </summary>
        public string UserName { get; set; }
        /// <summary>
        /// 动作事件
        /// </summary>
        public string ActionsClick { get; set; }
        /// <summary>
        /// 日志描述信息
        /// </summary>
        public string Message { get; set; }
       /// <summary>
       /// 日志记录
       /// </summary>
       /// <param name="macAddress">IP地址</param>
       /// <param name="computerName">用户名</param>
       /// <param name="actionsclick">点击链接或是操作方法</param>
       /// <param name="description">描述</param>
       public LogContent(string macAddress, string computerName, string actionsclick, string description)
       {
           UserIP = macAddress;
           UserName = computerName;
           ActionsClick = actionsclick;
           Message = description;
       }
      
    }
}
